import { createStore } from 'vuex'

const store = createStore({
    state() {
        return {
            some: 'acc'
        }
    },
    mutations: {
        SOME(state, value) {
            state.some = value
        }
    },
    actions: {
        updateSome(store, params) {
            store.commit('SOME', params)
        }
    }
});

export default store;